package com.wu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@ImportResource(locations = {
		"classpath:/bean/*.xml",
		"classpath:/dubbo/*.xml"
})
@MapperScan("com.wu.dao")
@EnableScheduling
@SpringBootApplication
public class DubboSpringbootApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboSpringbootApplication.class, args);
		System.out.println("提供者服务已注册成功");
	}
}
